package pkg

//
//import (
//	"context"
//	"github.com/qiniu/go-sdk/v7/storagev2/credentials"
//	"github.com/qiniu/go-sdk/v7/storagev2/http_client"
//	"github.com/qiniu/go-sdk/v7/storagev2/uploader"
//)
//
//func QiNiuYun() (string, error) {
//	accessKey := "JoTEkJ4mXdJvSeycDjvtUc-VLZXZ-N2XJsQohcVM"
//	secretKey := "1LItHCA7U6izFDtgE5v6GlR111Z0SfO4SxKcEOW_"
//	mac := credentials.NewCredentials(accessKey, secretKey)
//	bucket := "if-pbl"
//	key := "github-x.png"
//	uploadManager := uploader.NewUploadManager(&uploader.UploadManagerOptions{
//		Options: http_client.Options{
//			Credentials: mac,
//		},
//	})
//	file :=
//	err := uploadManager.UploadReader(context.Background(), file, &uploader.ObjectOptions{
//		BucketName: bucket,
//		ObjectName: &key,
//		CustomVars: map[string]string{
//			"name": "github logo",
//		},
//		FileName: "",
//	}, nil)
//	if err != nil {
//		return "", err
//	}
//	return "", nil
//}
